home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / chasm.EXE / chasm / CSM.BIN / PROCESS.08 < prev    next >
Encoding:
Text File  |  1997-10-17  |  6.9 KB  |  404 lines

  1. ; -------------- + -------------- + -----------------
  2. ; Setup sky file.
  3. ;   #sky=filename.cel
  4. ;
  5. ; Freeze 3d objects
  6. ; #stopani [#number]    ,freeze 3d object at start of level.
  7. ;
  8. ; Messages definition
  9. ; #mess [#number]
  10. ;  Delay [.sec]
  11. ;  Text[#word]: [ x,y] , x=-1 center for X
  12. ; #end
  13. ;
  14. ; #proc [#number]
  15. ; Setup process :
  16. ;  StartDelay    [.sec]
  17. ;  BackWait      [.sec] ,if not or 0 ,not revercible.
  18. ;  Speed         [.def]
  19. ;  LifeCheckon          ,LifeCheck:=True;
  20. ;  Mortal               ,Mortal:=True;
  21. ;  LightRemap           ,Wall bright:=Floor bright;
  22. ;  Lock                 ,locked at begin;
  23. ;  Loops         [.num] ,loop action;
  24. ;  LoopDelay     [.sec] ,delay after loop;
  25. ;  OnMessage     [.num] ,[.num]= message [.num]
  26. ;  FirstMessage  [.num] ,shows one time
  27. ;  LockMessage   [.num] ,if Locked
  28. ;  SfxId         [.num] ,[.num]= sfx [.num]
  29. ;  SfxPosxy      [ x,y] ,
  30. ;  LinkSwitchAt  [ x,y]
  31. ;
  32. ; #action
  33. ; Action commands :
  34. ;  lock          [procnumber]
  35. ;  unlock        [procnumber]
  36. ;  playani       [.num]                  ,plays specified .3o .ani
  37. ;  stopani       [.num]                  ,stops ...
  38. ;  move          [ x,y] [ dx,dy] [s:num]
  39. ;  xmove         ---
  40. ;  ymove         ---
  41. ;  rotate        [ x,y] [ cx,cy] [dfi] [s:num]
  42. ;  up            [ x,y] [ H]   [s:num]     ,if H>=80 then walktrough
  43. ;  light         [ x,y] [int sec] [R:256] [Bright] [s:num]
  44. ; #end
  45. ;
  46. ;  Links definition
  47. ; #links
  48. ;  link      [x,y] [.num] , walls and .3o
  49. ;  floor       -          , floors
  50. ;  shoot       -          , walls and .3o
  51. ;  return      -          , walls and .3o
  52. ;  unlock      -          , walls and .3o
  53. ;  destroy     -          , 3dobject     (auto-unlock locked processes)
  54. ;  onofflink   -          , walls and .3o
  55. ; #end
  56. ;
  57. ;
  58. ;
  59. ;+---------------------------------------+
  60. ;| Process definition file for level 04  |
  61. ;+---------------------------------------+
  62. ;+---------------------------------------+
  63. ;| Setup sky file.                       |
  64. ;+---------------------------------------+
  65. ;=================================
  66. ;|  Processes definition part    |
  67. ;=================================
  68.  
  69. ;============================================
  70. ;|  Link switches and objects to processes: |
  71. ;|  Format: "LINK  swx swy   Nproc"         |
  72. ;============================================
  73. #mess 01
  74.  Delay 5
  75.  TextA: -1  34 "Destroy the Sphinx"
  76.  TextB: -1  44 "COMPLETELY!"
  77. #end
  78.  
  79. #mess 02
  80.  Delay 5
  81.  TextA: -1  34 "This frame is opened by switch."
  82. #end
  83.  
  84. #proc 01
  85. #action
  86.  nonstop
  87.  death 31 21 38 22 0 0 90
  88.  death 22 24 30 31 0 10 60
  89.  death 21 24 21 26 0 10 60
  90.  death 21 29 21 32 0 10 60
  91. #end
  92.  
  93. #proc 02
  94.  SfxId 85
  95.  SfxPosXY 37 28
  96.  linkSwitchAt 30 21
  97.  Speed 5
  98. #action
  99.  up 34 29 90
  100.  up 36 29 90
  101. #end
  102.  
  103. #proc 03
  104.  SfxId 80
  105.  SfxPosXY 20 28
  106.  Speed 5
  107.  BackWait 5
  108.  LightRemap
  109.  GreenKey
  110. #action
  111.  rotate 18 27 5120 6912 -90
  112.  rotate 19 27 5120 6912 -90
  113.  rotate 20 27 5120 6912 -90
  114.  rotate 19 26 5120 6912 -90
  115.  
  116.  rotate 18 28 5120 7424 90
  117.  rotate 19 28 5120 7424 90
  118.  rotate 20 28 5120 7424 90
  119.  rotate 19 29 5120 7424 90
  120.  Waitout 5120 7168 356
  121. #end
  122.  
  123. #proc 04
  124.  LinkSwitchAt 26 32
  125.  LinkSwitchAt 26 23
  126.  Speed 5
  127. #action
  128.  move 28 32  512 0
  129.  move 28 22  512 0
  130. #end
  131.  
  132. #proc 05
  133.  SfxId 80
  134.  LightRemap
  135.  speed 4
  136. #action
  137.  move 14 26 0 -250
  138.  move 15 26 0 -250
  139.  move 15 27 0 -250
  140.  
  141.  move 14 29 0 250
  142.  move 15 29 0 250
  143.  move 15 28 0 250
  144. #end
  145.  
  146. #proc 06
  147. #action
  148.  wind 16 44 36 44 -1 0
  149.  nonstop
  150. #end
  151.  
  152. #proc 07
  153. #action
  154.  wind 16 48 36 48 -1 0
  155.  nonstop
  156. #end
  157.  
  158. #proc 08
  159. #action
  160.  Unlock 20
  161.  change 6 28 202                            ;72
  162.  change 7 27 199                            ;69
  163. #end
  164.  
  165. #proc 09
  166. #action
  167.  wind 7 15 8 15 10 0
  168.  nonstop
  169. #end
  170.  
  171. #proc 10
  172. #action
  173.  explode 7 28
  174.  explode 8 28
  175.  explode 8 27
  176. #end
  177.  
  178. #proc 11
  179.  linkSwitchAt 10 27
  180.  StartDelay 2
  181. #action
  182.  death 8 26 9 29 0 128 200
  183.  death 6 27 7 28 0 128 200
  184.  quake 8 26 9 29 100
  185.  quake 6 27 7 28 100
  186.  quake 10 25 13 30 100
  187.  change 10 27 212                                    ;82
  188.  nonstop
  189. #end
  190.  
  191. #proc 12
  192.  StartDelay 3
  193.  linkSwitchAt 11 27
  194.  linkSwitchAt 11 28
  195. #action
  196.  death 10 25 13 30 0 128 200
  197.  quake 14 26 15 29 100
  198.  nonstop
  199.  change 11 27 212                          ;82
  200.  change 11 28 212                          ;82
  201. #end
  202.  
  203. #proc 13
  204.  SfxId 90
  205.  SfxPosXY 8 23
  206.  StartDelay 4
  207.  linkSwitchAt 13 27
  208.  speed 6
  209. #action
  210.  death 14 26 15 29 0 128 200
  211.  quake 10 23 13 30 100
  212.  nonstop
  213.  move 8 24 0 -450
  214.  move 8 23 0 -450
  215.  move 9 23 0 -450
  216.  change 13 27 212                          ;82
  217. #end
  218.  
  219. #proc 14
  220.  StartDelay 5
  221. #action
  222.  death 10 23 13 30 0 128 200
  223.  quake 14 23 19 30 100
  224.  nonstop
  225. #end
  226.  
  227.  
  228. #proc 15
  229.  StartDelay 6
  230. #action
  231.  death 14 23 19 30 0 128 200
  232.  quake 4 23 9 28 100
  233.  nonstop
  234. #end
  235.  
  236.  
  237. #proc 16
  238.  StartDelay 7
  239. #action
  240.  death 4 23 9 28 0 128 200
  241.  quake 4 29 9 32 100
  242.  nonstop
  243. #end
  244.  
  245. #proc 17
  246.  StartDelay 8
  247. #action
  248.  death 4 29 9 32 0 128 200
  249.  quake 10 31 17 32 100
  250.  nonstop
  251. #end
  252.  
  253.  
  254. #proc 18
  255.  StartDelay 9
  256. #action
  257.  death 10 31 17 32 0 128 200
  258.  nonstop
  259. #end
  260.  
  261. #proc 19
  262.  StartDelay 13
  263. #action
  264.  quake 1 1 63 63 1000
  265.  nonstop
  266. #end
  267.  
  268. #proc 20
  269.  SfxId 80
  270.  SfxPosXY 16 23
  271.  speed 6
  272.  startDelay 3
  273.  Lock
  274. #action
  275.  waitout 4048 6160 300
  276.  move 15 23 0 -450
  277.  move 16 23 0 -450
  278.  move 16 24 0 -450
  279. #end
  280.  
  281. #proc 21
  282.  speed 4
  283.  startDelay 3
  284.  Lock
  285. #action
  286.  change 13 27 212                          ;82
  287. #end
  288.  
  289.  
  290. #proc 22
  291.  FirstMessage 01
  292. #action
  293. #end
  294.  
  295. #proc 23
  296. ;FirstMessage 02
  297. #action
  298. #end
  299.  
  300. ;===============================explode stai=============================
  301. #proc 24
  302.  SfxId 88
  303.  SfxPosXY 23 28
  304.  startDelay 10
  305. #action
  306.  explode 23 28
  307. #end
  308.  
  309. #proc 25
  310.  SfxId 88
  311.  SfxPosXY 28 30
  312.  startDelay 5
  313. #action
  314.  explode 28 30
  315. #end
  316.  
  317. #proc 26
  318.  SfxId 88
  319.  SfxPosXY 27 26
  320.  startDelay 5
  321. #action
  322.  explode 27 26
  323. #end
  324.  
  325. #proc 27
  326.  SfxId 88
  327.  SfxPosXY 25 30
  328.  startDelay 5
  329. #action
  330.  explode 25 30
  331. #end
  332.  
  333. #proc 28
  334.  SfxId 88
  335.  SfxPosXY 29 28
  336.  startDelay 10
  337. #action
  338.  explode 29 28
  339. #end
  340.  
  341.  
  342. #proc 29
  343.  EndDelay 0.1
  344. #action
  345. #end
  346.  
  347. #links
  348.  floor 36 28 01
  349.  shoot 31 23 02
  350.  floor 20 28 03
  351.  floor 20 27 03
  352.  floor 27 26 04
  353. ; return 15 28 04
  354. ; return 15 27 04
  355.  floor 15 28 05
  356.  floor 15 27 05
  357.  destroy 6 28 06
  358.  destroy 6 28 07
  359.  destroy 6 27 08
  360.  destroy 6 27 09
  361.  destroy 6 27 10
  362.  destroy 6 28 11
  363.  destroy 6 28 12
  364.  destroy 6 28 13
  365.  destroy 6 28 14
  366.  destroy 6 28 15
  367.  destroy 6 28 16
  368.  destroy 6 28 17
  369.  destroy 6 28 18
  370.  destroy 6 28 19
  371.  returnf 14 23 20
  372.  returnf 14 24 20
  373.  floor 10 23 20
  374.  floor 11 23 20
  375.  floor 12 23 20
  376.  floor 13 23 20
  377.  floor 10 24 20
  378.  floor 11 24 20
  379.  floor 12 24 20
  380.  floor 13 24 20
  381.  floor 16 23 20
  382.  floor 16 24 20
  383.  floor 15 28 22
  384.  floor 15 27 22
  385.  floor 37 28 23
  386.  floor 37 27 23
  387.  floor 23 28 24
  388.  floor 28 30 25
  389.  floor 27 26 26
  390.  floor 25 30 27
  391.  floor 29 28 28
  392.  floor 16 36 29
  393.  floor 17 36 29
  394. #end
  395.  
  396.  
  397. #teleports
  398.  tcenter 16 44 5 32 3
  399.  tcenter 16 48 17 31 2
  400.  tcenter 8 15 2220 7168 4
  401. #end
  402. .
  403.  
  404.